package com.qf.swagger2204.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.swagger2204.entity.Candidate;

import java.util.List;

public interface CandidateService extends IService<Candidate> {


    List<Candidate> selectAll();


    Boolean selectByName(String name);

    Candidate selectById(Integer candidateId);

    void updateNum(Integer id,Integer totalnum);
}
